package com.legal.exception;


import com.legal.enums.CaptchaExceptionMsgEnums;

/**
 * @author xiaopeng
 * @version 1.0
 */
public class CaptchaException extends CommonException {

    public CaptchaException(String message, int code) {
        super(message, code);
    }

    public CaptchaException(CaptchaExceptionMsgEnums enums) {
        this(enums.getMsg(), enums.getCode());
    }
}
